package calbs.socket.pojo.resp;/**
 * Created by zhangqin on 2017/8/7.
 */


import java.io.Serializable;

/**
 * 响应
 *
 * @author
 * @create 2017-08-07 14:04
 **/
public class RespData <T extends RespBaseMsg> implements Serializable {


    private T body;


    public T getBody() {
        return body;
    }

    public void setBody(T body) {
        this.body = body;
    }


    public static  RespData build(){
        return new RespData();
    }

    public  RespData buildBody(T t){
       this.setBody(t);
        return this;
    }
}